package com.skydonkey.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class AccountInfoDetails {
    private Long uid;
    private String headPicUrl;
    @JsonFormat(
            shape=JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8")
    private Timestamp birthday;
    private String briefIntroduction;
    private String signature;
    private String sex;
    private String province;
    private String county;

    private String nickname;    //用户昵称
    private Boolean isFollowingMe;  //是否关注了我
    private Boolean isFollowingHim; //我是否关注了他
    private Integer followsCount;   //他的粉丝数


    public Long getUid() {
        return uid;
    }

    public AccountInfoDetails setUid(Long uid) {
        this.uid = uid;
        return this;
    }

    public String getHeadPicUrl() {
        return headPicUrl;
    }

    public AccountInfoDetails setHeadPicUrl(String headPicUrl) {
        this.headPicUrl = headPicUrl;
        return this;
    }

    public Timestamp getBirthday() {
        return birthday;
    }

    public AccountInfoDetails setBirthday(Timestamp birthday) {
        this.birthday = birthday;
        return this;
    }

    public String getBriefIntroduction() {
        return briefIntroduction;
    }

    public AccountInfoDetails setBriefIntroduction(String briefIntroduction) {
        this.briefIntroduction = briefIntroduction;
        return this;
    }

    public String getSignature() {
        return signature;
    }

    public AccountInfoDetails setSignature(String signature) {
        this.signature = signature;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public AccountInfoDetails setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public AccountInfoDetails setProvince(String province) {
        this.province = province;
        return this;
    }

    public String getCounty() {
        return county;
    }

    public AccountInfoDetails setCounty(String county) {
        this.county = county;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public AccountInfoDetails setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public Boolean getFollowingMe() {
        return isFollowingMe;
    }

    public AccountInfoDetails setFollowingMe(Boolean followingMe) {
        isFollowingMe = followingMe;
        return this;
    }

    public Boolean getFollowingHim() {
        return isFollowingHim;
    }

    public AccountInfoDetails setFollowingHim(Boolean followingHim) {
        isFollowingHim = followingHim;
        return this;
    }

    public Integer getFollowsCount() {
        return followsCount;
    }

    public AccountInfoDetails setFollowsCount(Integer followsCount) {
        this.followsCount = followsCount;
        return this;
    }

    @Override
    public String toString() {
        return "AccountInfoDetails{" +
                "uid=" + uid +
                ", headPicUrl='" + headPicUrl + '\'' +
                ", birthday=" + birthday +
                ", briefIntroduction='" + briefIntroduction + '\'' +
                ", signature='" + signature + '\'' +
                ", sex='" + sex + '\'' +
                ", province='" + province + '\'' +
                ", county='" + county + '\'' +
                ", nickname='" + nickname + '\'' +
                ", isFollowingMe=" + isFollowingMe +
                ", isFollowingHim=" + isFollowingHim +
                ", followsCount=" + followsCount +
                '}';
    }
}
